<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/page/frame/rootContainer.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>系统信息</title>
	<link rel="stylesheet" type="text/css" href="page/frame/1/default.css" />
	<script src="<%=basePath%>component/layout.js"></script>
	<script src="<%=basePath%>component/menu.js"></script>

<script type="text/javascript">
var dhxLayout = createLayoutNormal('1C');
var dhxMenu = createMenuFromLayouCell(dhxLayout,'a');

function configLayout(){
	var a = dhxLayout.cells('a');
	a.hideHeader();
	a.setText('主页面');
	a.fixSize(true, true);
	dhxLayout.attachHeader('my_logo');
	dhxLayout.attachFooter('my_copy');
}

function configMenu(){
	dhxMenu.loadXML('<%=basePath%>system-display/Model1MenuAction!initXmlLoginUserResource.action');
	dhxMenu.setIconsPath(resourceImgpath);
	dhxMenu.attachEvent("onClick", function(id){
		changeMainPageURL(redirectResourceUrl+id);
		changeClickTip(id);
	});
}

function changeMainPageURL(url){
	layoutCellAttachURL(dhxLayout,'a',url);
}

$(function (){
	configLayout();
	configMenu();
});
</script>	
  </head>
  
<body >
	<div id="my_logo" class="logodiv"></div>
	<div class="userpic">
		<div class="userphoto">
			<img height="52" width="52" id="imgphoto"  />
		</div>
		<div id="uLoginName" class="logoUserName" >
			<b>${user.loginName}</b>
		</div>
		<div id="clickTip" class="logoClickTip" ></div>
	</div>
	<div class="logout">
		<a href="javascript:logout()"></a>
	</div>  
	<div id="my_copy" class="copyrightdiv" >
		<table border="0" width="100%">
			<tr>
				<td align="center">
					<a href="javascript:openCopyright();">Copyright © 2009-2010 SINOBROAD Sinosoft Co.Ltd.</a>
				</td>
			</tr>
		</table>
	</div>
</body>
</html>
